from .client import CommonClient
from .client import ApiClient
from ..utils.url_params import OpenApiUrlParams

"""
DocTemplateClient
文档模板管理
"""


class DocTemplateClient(ApiClient):
    # 查询文档模板列表
    def get_list(self, data):
        return CommonClient.post_json(self, OpenApiUrlParams.DOC_TEMPLATE_GET_LIST, data)

    # 获取文档模板详情
    def get_detail(self, data):
        return CommonClient.post_json(self, OpenApiUrlParams.DOC_TEMPLATE_GET_DETAIL, data)
